                        Keyboard emulation for 101 keys

  You can emulate all of the original 101 keys in DIO regardless of
the currently used keyboard driver (rom,84,101,win,etc.).

  The emulation key is the TAB key. If you simply push it twice
you'll get only a normal TAB key (down and up).

  However, if you replace the second TAB key with a special string
the result will be one of the 101 keys.

  In generally the special strings identify the keys with their name.
You can find the name of the keys in SRC/SYS/KEY.H, but use these
names without the leading 'Key' prefix.

  There are also some modifier keys, that you can use in the special
strings:
  * KeyRap : (key: right apostrophe)
             If you press it the next key will be interpreted with
             SHIFT.
  * KeyScl : (key: semicolon)
             If you press it the next key will be interpreted without
             SHIFT.
  * KeyPer : (key: per)
             The emulator makes only a DOWN key.
  * KeyBsl : (key: backslash)
             The emulator makes only an UP key.
  * KeyEnt : (key: enter)
             Close the input special string.
  * KeyBsp : (key: backspace) OR
  * KeyPnt : (key: point)
             Ereases the last character in the key buffer.
  * KeyLap : (key: left apostrophe)
             Leaves the emulator without evaluation.

E.g.: The special string for making a KeyCapL (CapsLock) DOWN/UP pair:
  KeyRap
  KeyC
  KeyA
  KeyP
  KeyRap
  KeyL

E.g.: The special string for making a KeySys DOWN key:
  KeyPer
  KeyRap
  KeyS
  KeyY
  KeyS
  KeyEnt

The max. length of the name identifier is 4. If the input buffer
emulator reaches this length then it closes the input string.
You can use KeySpc (space) instead of KeyEnt to fill the remaining
characters in the buffer.

The shift state (key flags) of the emulated key will be the
shift state of the first pushed TAB key. Any shift changes while
using the emualtor will be discarded.
